package com.esd.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.esd.common.pojo.R;
import com.esd.device.entity.ChannelType;
import com.esd.device.entity.vo.DeviceChannelVo;

import java.util.List;

public interface ChannelTypeService extends IService<ChannelType> {

    R addChannelType(ChannelType channelType) ;

    R deleteChannelType(Long channelTypeId);

    R updateChannelType(ChannelType channelType);

    ChannelType getChannelTypeByName(String channelTypeName);

    List<DeviceChannelVo> getListByDeviceId(Long deviceId);

}
